home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11604 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.sover.net!news
  2. From: sstryker@sover.net (Stew Stryker)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ newbie asks for help
  5. Date: Fri, 15 Mar 1996 08:24:45 -0400
  6. Organization: Southern Vermont Network
  7. Message-ID: <19960315122445.sstryker@sover.net>
  8. References: <31488AC8.1557@cco.caltech.edu> <4iapek$med@B1FF.mindspring.com>
  9. NNTP-Posting-Host: pm0a20.wrj.sover.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-NewsReader: Emissary News v1.01.007, by Wollongong Inc.
  14.  
  15.  
  16. Justin Rudd wrote:
  17. >This is a very common problem with 4.0 console apps.  The problem is
  18. >you aren't filling the internal buffer with enough characters.  What
  19. >this basically means is...after it does the cout << "starting\a\n";
  20. >This doesn't fill the buffer enough to be dumped.  Its screwy but easy
  21. >to fix...just add this line right after any cout or ostream operation.
  22. >
  23. >cout.flush();
  24.  
  25. Would
  26.  
  27.         cout << endl;
  28.  
  29. work as well here?  That's what I tend to use, but that's on a VAX, so the
  30. output's to a terminal.
  31.  
  32. Just a thought from one newbie to another,
  33.  
  34. Stew
  35.